package mail;

/**
 * Filtro email por su contenido.
 * @author Damian
 *
 */
public class FilterContent extends SearchType {

	@Override
	public Boolean filter(Mail email) {
		return email.getContenido().contains(this.content);
	}
	
	public FilterContent(String content){
		this.content = content;
	}
}
